#include <xtable/table.hpp>
using namespace xtable;
using Row_t = Table::Row_t;

#if __cplusplus >= 201703L
#include <string_view>
using std::string_view;
#else
#include <xtable/string_view_lite.hpp>
using nonstd::string_view;
#endif

int main() {
  Table table;

  string_view c0 = "string_view";
  const char *c1 = "const char *";
  std::string c2 = "std::string";

  Table c3;
  c3.add_row({"Table", "", ""});
  c3.add_row({c0, c1, c2});
  c3[0].format().border("").corner("");

  table.add_row({c0, c1, c2, c3});

  std::cout << table << std::endl;
}